package com.server.systems;

import java.io.Serializable;

import com.server.misc.NewID;

import combat.protocol.interfaces.OnboardSystemInt;
import combat.protocol.types.OnboardSystemStatus;
import combat.protocol.types.OnboardSystemType;

public class onBoardSystemImpl extends NewID.OnboardSystemID implements OnboardSystemInt, Serializable {
	private static final long serialVersionUID = 7374301620735894774L;
	
	public int systemID;
	public OnboardSystemType onboardSystemType;
	public OnboardSystemStatus onboardSystemStatus;
	
	public onBoardSystemImpl(){
		setSystemID(getID());
		setOnboardSystemStatus(OnboardSystemStatus.UNKNOWN);
		setOnboardSystemType(OnboardSystemType.UNKNOWN);
	}
	
	public onBoardSystemImpl(OnboardSystemStatus status, OnboardSystemType onboardSystemType)
	{
		setSystemID(getID());
		setOnboardSystemStatus(status);
		setOnboardSystemType(onboardSystemType);
	}

	public int getSystemID() {
		return this.systemID;
	}

	public void setSystemID(int systemID) {
		this.systemID = systemID;
	}

	public OnboardSystemType getOnboardSystemType() {
		return this.onboardSystemType;
	}

	public void setOnboardSystemType(OnboardSystemType onboardSystemType) {
		this.onboardSystemType = onboardSystemType;
	}

	public OnboardSystemStatus getOnboardSystemStatus() {
		return onboardSystemStatus;
	}

	public void setOnboardSystemStatus(OnboardSystemStatus status) {
		this.onboardSystemStatus = status;
	}

}
